package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserResetDTO {
    @ApiModelProperty(value = "id")
    @NotNull
    private Long id;
    @ApiModelProperty(value = "原密码")
    @NotBlank
    private String password;
    @ApiModelProperty(value = "新密码")
    @NotBlank
    private String newPassword;
}
